import axios from "../utils/request";
//获取双方关注关系
export const $getFollow=async (params)=>{
    let {data}=await axios.get('follow/relationship',{params:params});
    return data;
}
//取消关注
export const $cancelFollow=async(params)=>{
    let {data}=await axios.post('follow/unfollow',params);
    return data;
}
//点击关注
export const $handleFollow=async(params)=>{
    let {data}=await axios.post('follow/follow',params);
    return data;
}
